<template>
     <van-skeleton title :row="3" v-if="gj"  />
    <div v-else>
        
        <van-nav-bar title="购物车" left-text="返回" left-arrow @click-left="onClickLeft" />
        <van-card num="2" price="2.00" desc="描述信息" title="商品标题"
            thumb="https://fastly.jsdelivr.net/npm/@vant/assets/ipad.jpeg" />

            <van-nav-bar title="购物车" left-text="返回" left-arrow @click-left="onClickLeft" />
        <van-card num="2" price="2.00" desc="描述信息" title="商品标题"
            thumb="https://fastly.jsdelivr.net/npm/@vant/assets/ipad.jpeg" />

            <van-nav-bar title="购物车" left-text="返回" left-arrow @click-left="onClickLeft" />
        <van-card num="2" price="2.00" desc="描述信息" title="商品标题"
            thumb="https://fastly.jsdelivr.net/npm/@vant/assets/ipad.jpeg" />

            
    </div>
    <van-submit-bar :price="3050" button-text="提交订单" @submit="onSubmit" @click="js" />
</template>

<script setup>
import { useRouter } from 'vue-router';

let router=useRouter();

let js=()=>{
    router.push('/index/zf')
}

import { ref } from 'vue';
let gj = ref(true);
setTimeout(() => {
    gj.value = false
}, 1000)
</script>

<style lang="scss" scoped></style>